package org.gradle.service.impl;

import org.gradle.mapper.mapper.UsersMapper;
import org.gradle.mapper.model.Users;
import org.gradle.service.interfaces.IUsersSV;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UsersSVImpl implements IUsersSV {

    @Autowired
    private UsersMapper usersMapper;

    @Override
    public List<Users> findAll(){
        return usersMapper.selectAll();
    }

}
